export default $axios => ({
    getDeviceInfo() {
        return $axios.get('/cpu')
    },
    startCapture() {
        return $axios.get('/capture/start')
    },
    stopCapture(){
        return $axios.get('/capture/stop')
    },
    getResults(){
        return $axios.get('/capture/analyze')
    },
    getSpeed(){
        return $axios.get('/speed')
    },
    download() {
        return $axios.get('/capture/save')
    }
})